package com.example.neusoft.yuejian.Base;


import com.example.neusoft.yuejian.Activity.ActDetailActivity;
import com.example.neusoft.yuejian.Bean.ActBean;
import com.example.neusoft.yuejian.Bean.ActDetailBean;
import com.example.neusoft.yuejian.Bean.ActenrollBean;
import com.example.neusoft.yuejian.Bean.CancelBean;
import com.example.neusoft.yuejian.Bean.ClubBean;
import com.example.neusoft.yuejian.Bean.ClubDetailBean;
import com.example.neusoft.yuejian.Bean.CollectionBean;
import com.example.neusoft.yuejian.Bean.Enrollbean;
import com.example.neusoft.yuejian.Bean.GuanzhuBean;
import com.example.neusoft.yuejian.Bean.LessonBean;
import com.example.neusoft.yuejian.Bean.LoginBean;
import com.example.neusoft.yuejian.Bean.MasterBean;
import com.example.neusoft.yuejian.Bean.MatchBean;
import com.example.neusoft.yuejian.Bean.MatchDetailBean;
import com.example.neusoft.yuejian.Bean.MgzBean;
import com.example.neusoft.yuejian.Bean.MyBean;
import com.example.neusoft.yuejian.Bean.Realbean;
import com.example.neusoft.yuejian.Bean.ShtuBean;
import com.example.neusoft.yuejian.Bean.SoWing;
import com.example.neusoft.yuejian.Bean.SowingmapBean;
import com.example.neusoft.yuejian.Bean.TrainerBean;
import com.example.neusoft.yuejian.Bean.exercisesbean;
import com.example.neusoft.yuejian.Bean.videolist;


import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface BaseService {

    //注册
    @GET("common/register")
    Call<Realbean> getregister(@Query("username") String username, @Query("password") String password);
    //登录
    @GET("common/login")
    Call<LoginBean> getlogin(@Query("username") String username, @Query("password") String password);
    //训练列表
    @GET("exercises/getList")
    Call<List<exercisesbean>> getexercisesbean(@Query("type") int type);

    //报名培训
    @GET("exercises/enroll")
    Call<Enrollbean> getEnroll(@Query("id") int id, @Query("uid") int uid);
    //权威大师
    @GET("masters/getList")
    Call<List<MasterBean>> masterlist();
    //精彩活动
    @GET("activities/getList")
    Call<List<ActBean>> actList();
    //精彩活动详情
    @GET("activities/getDetail")
    Call<ActDetailBean> actDetail(@Query("id") int id,@Query("uid") int uid);
    //最近比赛
    @GET("match/getList")
    Call<List<MatchBean>> macthlist();
    //最近比赛详情
    @GET("match/getDetail")
    Call<MatchDetailBean> macthdetail(@Query("id") int id,@Query("uid") int uid);
    //晒图
    @GET("shai_tu/getList")
    Call<ShtuBean> shaituList();
    //轮播图
    @GET("sowingmap/getList")
    Call<List<SowingmapBean>> sowingmapList();
    //俱乐部
    @GET("clubs/getList")
    Call<List<ClubBean>> clublist();
    //俱乐部详情
    @GET("clubs/getDetail")
    Call<ClubDetailBean> clubdetail(@Query("id") int id,@Query("uid") int uid);

    //教练
    @GET("trainers/getList")
    Call<List<TrainerBean>>trainerlist();
    //精品课程
    @GET("lessons/getList")
    Call<List<LessonBean>>lessonlist();
    //俱乐部相关视频
    @GET("c_videos/getList")
    Call<List<videolist>>videolist();
    //我的信息
    @GET("mine/getDetail")
    Call<MyBean> getMine( @Query("uid") int uid);
    //报名
    @GET("activities/enroll")
    Call<ActenrollBean> getactenroll(@Query("id") int id, @Query("uid") int uid);
    @GET("match/enroll")
    Call<ActenrollBean> getmatchenroll(@Query("id") int id, @Query("uid") int uid);
    //俱乐部关注
    @GET("clubs/focus")
    Call<GuanzhuBean> getguanzhu(@Query("id") int id, @Query("uid") int uid);
    //俱乐部取消关注
    @GET("clubs/cancel")
    Call<CancelBean> getcancel(@Query("id") int id, @Query("uid") int uid);
    //精彩活动收藏
    @GET("activities/Collection")
    Call<CollectionBean> getcollection(@Query("id") int id, @Query("uid") int uid);
    //俱乐部关注
    @GET("match/follow")
    Call<MgzBean> getmgz(@Query("id") int id, @Query("uid") int uid);
    //轮播图
    @GET("sowingmap/getList")
    Call<List<SoWing>> getPic();

}
